{include file='common/header'}
<ol class='breadcrumb' >
      <li ><a href="{:url('admin/index/index')}">admin</a></li>
      <li ><a href="{:url('type/lst')}">type</a></li>
      <li class='active'>edit</li>
</ol>
<h1 class='text-center'>修改分类</h1>
      <form   action="{:url('type/update',['id'=>$data['id']])}" method="post" 
              style="width: 400px;margin-left: 420px;/*border: 2px solid #FFB5C5;*/background: white;padding: 15px;" enctype="multipart/form-data"> 
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>分类名</big></label>
            <input type='text' class='form-control' name='tname' value="{$data.tname}">
         </div>
         <div class='form-group has-feedback'>
            <label class='bg-success'><big>热门程度</big></label>
            <select name="orderT" id="" class="form-control" >
              <option value="{$data.orderT}">{$data.orderT|type}</option>
              <option value="1">不热门</option>
              <option value="2">一般</option>
              <option value="3">热门</option>
              <option value="4">非常热门</option>
            </select>
         </div>      
         <div class='form-group' >
            <button class='btn btn-primary btn-block ' style='font-size: 25px;'>submit</button>
         </div>      
     </form>
{include file='common/footer'}